/*C02: Getwords.cpp
 * Break a file into whilespace-separated words
 * */
#include <string>
#include <iostream>
#include <fstream>
#include <vector>

using namespace std;
int main(void)
{
	vector<string> words;
	ifstream in ("GetWords.cpp");
	string word;

	while(in >> word)
		words.push_back(word);

	for(int i = 0; i < words.size(); i++)
	{
		cout << words[i] << endl;
	}
	return 0;
}
